﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

public partial class form_list_category : System.Web.UI.UserControl {

#region Properties

    public TextBox prop_txtSymbol {
        get {return txtSymbol;}
        set {txtSymbol = value;}
    }
    public TextBox prop_txtName {
        get {return txtName;}
        set {txtName = value;}
    }
    public TextBox prop_txtDescription {
        get {return txtDescription;}
        set {txtDescription = value;}
    }
    public DropDownList prop_ddlParent {
        get {return ddlParent;}
        set {ddlParent = value;}
    }

#endregion

    protected void Page_Init(Object sender, EventArgs e) {
        if(!Page.IsPostBack) {
            // Populate form control with default.
            ddlParent.Items.Add(new ListItem("None", "0"));
        }
    }
}